Tight Security For Votes Counting